//1.导入pinia
import { createPinia } from 'pinia'
import persist from 'pinia-plugin-persistedstate'
//2.创建pinia实例
const pinia = createPinia()
pinia.use(persist)

export { pinia }

//将模块导入
import { useUserStore } from './modules/user'
//导出
export { useUserStore }

import { useConsultStore } from './modules/consult'

export { useConsultStore }
